package com.yoooya.base.third.model.vo;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * 回复消息基类（公众帐号 -> 普通用户）
 */
public class WxBaseMessageVo extends BaseVo {

	/**
	 * 接收方帐号（收到的OpenID）
	 */
	@XStreamAlias("ToUserName")
	private String toUserName;
	/**
	 * 开发者微信号
	 */
	@XStreamAlias("FromUserName")
	private String fromUserName;
	/**
	 * 消息创建时间
	 */
	@XStreamAlias("CreateTime")
	private long createTime;
	/**
	 * 消息类型（text/image/voice/video/music/news）
	 */
	@XStreamAlias("MsgType")
	private String msgType;

	@XStreamAlias("Event")
	private String event;

	@XStreamAlias("ChangeType")
	private String changeType;

	@XStreamAlias("UserID")
	private String userID;

	public WxBaseMessageVo() {

	}

	public String getToUserName() {
		return toUserName;
	}

	public void setToUserName(String toUserName) {
		this.toUserName = toUserName;
	}

	public String getFromUserName() {
		return fromUserName;
	}

	public void setFromUserName(String fromUserName) {
		this.fromUserName = fromUserName;
	}

	public long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}

	public String getMsgType() {
		return msgType;
	}

	public void setMsgType(String msgType) {
		this.msgType = msgType;
	}

	public String getEvent() {
		return event;
	}

	public void setEvent(String event) {
		this.event = event;
	}

	public String getChangeType() {
		return changeType;
	}

	public void setChangeType(String changeType) {
		this.changeType = changeType;
	}

	public String getUserID() {
		return userID;
	}

	public void setUserID(String userID) {
		this.userID = userID;
	}

}
